<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_faq extends CI_Controller {
    function  __construct(){
        parent::__construct();
    }
    function index(){
        $faq = $this->common_model->getdata('faq',array('publish'=>1),'',array('order','ASC'));
        $sidebar = $this->load->controller('mod_sidebar/mod_sidebar/index');
        $data['content']=$this->load->view('mod_faq/view_faq.php',array('faq'=>$faq,'sidebar'=>$sidebar),true);
        $data['title']='Câu hỏi thường gặp';
        $this->load->view('index',$data);
    }
}
?>